Using a Specific Version of Perforce QAC

The version of the Perforce QAC Eclipse plugin that you use must match the underlying version of Perforce QAC, which will normally be picked up from the PATH environment variable. If you have either:

  • No Perforce QAC location in your path.
  • If the first Perforce QAC location is not the correct version (for example, if you have multiple Perforce QAC installations).
  • You have chosen not to install the main Perforce QAC application using the installers, but just extracted the ZIP archives.

then you can set the environment variable QAC_LOCATION to point to a specific Perforce QAC installation. If setting the variable from a command-line, please use 'set' for the value to be local to the current shell or use 'setx' for the value to be available for subsequent shells.

The environment variable can be set using a batch file, the contents of which might be similar to:

set QAC_LOCATION=C:\Perforce\QAC-2024.3
eclipse.exe

If you place the batch file inside the unpacked Eclipse directory where eclipse.exe resides, then, if you launch this batch file instead of eclipse.exe, the plugin will use the version of Perforce QAC specified in the batch file. If you want the plugin to use a different version of Perforce QAC on the next launch of the plugin, then simply change the value of the variable (for example, to: C:\Perforce\Perforce-QAC-2019.2).

The environment variable will still be picked up if specified inside the operating system’s environment variables.

A similar approach can be used with Linux using the 'export' command.